package luccy.behavior;

import luccy.registry.Registry;

public class ComponentBehavior implements Behavior, RegistryAware {

	private Registry container;

	public ComponentBehavior() {
	}

	public void setRegistry(Registry container) {
		this.container = container;
	}

	public <T> void init(Class<? extends T> clazz) {
		container.register(clazz);
	}

	public <T> void destroy(Class<? extends T> clazz) {
	}

	public <T> T run(Class<? extends T> clazz, T t) {
		return null;
	}

}
